package com.lagou.config;

/**
 * SQL映射配置信息
 * @author shenguotao
 */
public class MapperStatement {
    /**
     * namespace.id
     */
    private String statementId;
    /**
     * 参数类型
     */
    private String parameterType;
    /**
     * 返回值类型
     */
    private String resultType;
    /**
     * SQL文本，例如 select id,name from user where id = #{id} and name = #{name}
     */
    private String sqlText;

    /**
     * 方法类型：insert/update/delete/select
     */
    private MethodType methodType;



    public String getStatementId() {
        return statementId;
    }

    public void setStatementId(String statementId) {
        this.statementId = statementId;
    }

    public String getParameterType() {
        return parameterType;
    }

    public void setParameterType(String parameterType) {
        this.parameterType = parameterType;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public MethodType getMethodType() {
        return methodType;
    }

    public void setMethodType(MethodType methodType) {
        this.methodType = methodType;
    }
}
